package com.example.tms.mapper;

import com.example.tms.bean.RolePerms;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.Modifying;
import org.springframework.stereotype.Repository;
import org.springframework.transaction.annotation.Transactional;

/**
 * 角色-权限信息
 */
@Repository
public interface RolePermsMapper extends JpaRepository<RolePerms, String> {
    @Modifying
    @Transactional
    void deleteByJsid(String jsid);
}
